package com.ecut.property_project.service.charge;

import com.ecut.property_project.mapper.charge.ChargeStandardMapper;
import com.ecut.property_project.model.charge.ChargeStandard;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ChargeStandardService{

    @Resource
    private ChargeStandardMapper chargeStandardMapper;

    
    public int deleteByPrimaryKey(String standardId) {
        return chargeStandardMapper.deleteByPrimaryKey(standardId);
    }

    
    public int insert(ChargeStandard record) {
        return chargeStandardMapper.insert(record);
    }

    
    public int insertSelective(ChargeStandard record) {
        return chargeStandardMapper.insertSelective(record);
    }

    public List<ChargeStandard> selectAll(){ return chargeStandardMapper.selectAll(); }

    public List<ChargeStandard> selectByPage(Integer page, Integer pageSize){return chargeStandardMapper.selectByPage(page,pageSize);}

    public ChargeStandard selectByPrimaryKey(String standardId) {
        return chargeStandardMapper.selectByPrimaryKey(standardId);
    }

    
    public int updateByPrimaryKeySelective(ChargeStandard record) {
        return chargeStandardMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(ChargeStandard record) {
        return chargeStandardMapper.updateByPrimaryKey(record);
    }

}
